package com.neusoft.elmboot.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2024-02-28 11:23:16
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("orderdetailet")
public class OrderdetailetEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 订单明细编号
	 */
	@TableId(value = "odId",type = IdType.AUTO)
	private Integer odId;
	/**
	 * 所属订单编号
	 */
	private Integer orderId;
	/**
	 * 食品编号
	 */
	private Integer foodId;
	/**
	 * 数量
	 */
	private Integer quantity;

}
